package com.cskaoyan.service.wx;

import com.cskaoyan.bean.Order;
import com.cskaoyan.bean.OrderGoods;
import com.cskaoyan.bean.bo.WxOrderCommentBO;
import com.cskaoyan.bean.bo.WxOrderSubmitBO;
import com.cskaoyan.bean.vo.WxOrderListVO;

import java.util.List;
import java.util.Map;

public interface WxOrderService {
    WxOrderListVO queryList(Integer showType, Integer page, Integer size, Integer userId);

    Map orderDetail(Integer orderId);

    void orderCancel(Integer orderId);

    void orderRefund(Integer orderId);

    void orderDelete(Integer orderId);

    void orderConfirm(Integer orderId);

    OrderGoods getOrderGoods(Integer orderId, Integer goodsId);

    void comment(WxOrderCommentBO wxOrderCommentBO, Integer userId);

    void prepay(Integer orderId);

    Map<String,Integer> submit(WxOrderSubmitBO wxOrderSubmitBO);

    List<OrderGoods> queryByOid(Integer orderId);

    void addStock(Integer productId, Short number);

    //List<Order> queryUnpaid(String cskaoyanmall_order_unpaid);
}
